package com.iwhalecloud.uncc.model;

import java.util.List;
import java.util.Map;

public class CollectTaskVo {
    /**
     * 下发的策略ID
     */
    private String strategyId;
    /**
     * 概念上类似于 采集服务组ID
     */
    private String collectorId;
    /**
     * 概念上类似于 采集服务ID
     */
    private String collectorInstId;
    /**
     * 概念上类似于 任务ID
     */
    private String taskInsId;
    /**
     * 概念上类似于 任务批次ID
     */
    private String batchId;
    /**
     * 策略类型 1——即时策略，2——周期策略，3——常驻策略
     */
    private Integer taskType;
    /**
     * 任务类型 1——普通任务，2——补采任务
     */
    private Integer type;
    /**
     * 任务启停动作，1：启动；2：停止(停止只针对常驻任务有效)
     */
    private Integer action;
    /**
     * 采集源列表
     */
    private Long sourceId;

    /**
     * 采集模板
     */
    private List<Long> templateIds;

    /**
     * 流程ID
     */
    private String processId;

    /**
     * 采集方式，1-服务采集 2-指令采集
     */
    private Integer collType;
    /**
     * 数据开始时间
     */
    private String dataStartTime;
    /**
     * 数据结束时间
     */
    private String dataEndTime;

    /**
     * 附加参数
     */
    private Map param;

    /**
     * 派发时间
     */
    private String dispatchDate;

    /**
     * 环节实例IDs
     */
    private Map<String, String> cmptTacheMap;

    private String partitionCode;

    public String getStrategyId() {
        return strategyId;
    }

    public void setStrategyId(String strategyId) {
        this.strategyId = strategyId;
    }

    public String getCollectorId() {
        return collectorId;
    }

    public void setCollectorId(String collectorId) {
        this.collectorId = collectorId;
    }

    public String getCollectorInstId() {
        return collectorInstId;
    }

    public void setCollectorInstId(String collectorInstId) {
        this.collectorInstId = collectorInstId;
    }

    public String getTaskInsId() {
        return taskInsId;
    }

    public void setTaskInsId(String taskInsId) {
        this.taskInsId = taskInsId;
    }

    public String getBatchId() {
        return batchId;
    }

    public void setBatchId(String batchId) {
        this.batchId = batchId;
    }

    public Integer getTaskType() {
        return taskType;
    }

    public void setTaskType(Integer taskType) {
        this.taskType = taskType;
    }

    public Integer getAction() {
        return action;
    }

    public void setAction(Integer action) {
        this.action = action;
    }

    public Long getSourceId() {
        return sourceId;
    }

    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }

    public List<Long> getTemplateIds() {
        return templateIds;
    }

    public void setTemplateIds(List<Long> templateIds) {
        this.templateIds = templateIds;
    }

    public String getProcessId() {
        return processId;
    }

    public void setProcessId(String processId) {
        this.processId = processId;
    }

    public Integer getCollType() {
        return collType;
    }

    public void setCollType(Integer collType) {
        this.collType = collType;
    }

    public String getDataStartTime() {
        return dataStartTime;
    }

    public void setDataStartTime(String dataStartTime) {
        this.dataStartTime = dataStartTime;
    }

    public String getDataEndTime() {
        return dataEndTime;
    }

    public void setDataEndTime(String dataEndTime) {
        this.dataEndTime = dataEndTime;
    }

    public Map getParam() {
        return param;
    }

    public void setParam(Map param) {
        this.param = param;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDispatchDate() {
        return dispatchDate;
    }

    public void setDispatchDate(String dispatchDate) {
        this.dispatchDate = dispatchDate;
    }

    public Map<String, String> getCmptTacheMap() {
        return cmptTacheMap;
    }

    public void setCmptTacheMap(Map<String, String> cmptTacheMap) {
        this.cmptTacheMap = cmptTacheMap;
    }

    public String getPartitionCode() {
        return partitionCode;
    }

    public void setPartitionCode(String partitionCode) {
        this.partitionCode = partitionCode;
    }
}
